package com.kun.admin.authority.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author likun
 * 2018/5/22 11:09
 * 部门实体类
 **/
public class Department implements Serializable {

    private Long id;

    private String name;

    private Long parentId;

    private List<Department> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<Department> getChildren() {
        return children;
    }

    public void setChildren(List<Department> children) {
        this.children = children;
    }
}
